﻿using System;
using System.Collections.Generic;
using System.Text;

using FundSms.Client.Model;

namespace FundSms.Client.IDAL
{
    /// <summary>
    /// 发送日志接口
    /// </summary>
    public interface ISmsSendLog
    {
        /// <summary>
        /// 插入日志信息
        /// </summary>
        /// <param name="loginfo">日志信息</param>
        void Insert(TSMSSendLogInfo loginfo);

        /// <summary>
        /// 执行批量插入
        /// </summary>
        /// <param name="sql">批量Insert语句</param>
        void InsertBatch(string sql);

        /// <summary>
        /// 执行批量插入集合方式
        /// </summary>
        /// <param name="li">日志集合</param>
        void InsertList(List<TSMSSendLogInfo> li);
    }
}
